"""
URL configuration for daytestwo project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/5.1/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path, include
from .views import adduser,getuserinfo,deletedata,getuser,updateitem,login,getcondition,getgenderlist
urlpatterns = [
    path('adduser/', adduser),
    path('getuserinfo/', getuserinfo),
    path('deletedata/<str:itemid>', deletedata),
    path('getuser/<str:itemid>', getuser),
    path('updateitem/<str:itemid>', updateitem),
    path('updateitem/<str:itemid>', updateitem),
    path('login/', login),
    path('getcondition/', getcondition),
    path('getgenderlist/', getgenderlist),
]

# 30 0.25石
# 90 0.75石
# 180 1.5石
# 270 2.25石
